$(document).ready(function(){
    //加载全部试题信息
    $.ajax({
        url:"http://localhost:9999/Answer/selectAllAnswer",
        type:"get",
        dataType: "json",
        success :function(rs){
            // document.getElementById("list_1_1").style.setProperty('display','block')
            $("#sco").bootstrapTable({
                data:rs.data.list,
                cache:false,
                columns:[
                    {field:'studentid',title:'学号'},
                    {field:'isstandard',title:'是否合格'},
                    {field:'answerstart',title:'开始时间'},
                    {field:'answerend',title:'结束时间'},
                    {field:'answerissuedate',title:'发布时间'},
                    {field:'submittime',title:'提交时间'},
                    {field:'finalgrade',title:'总分数'}

                ]
            });
        },
        error:function (rs) {
            alert("抱歉，没有查询到数据");
        }
    })

})